//
//  ProductOrderListModel.h
//  MobileShoppingMall
//
//  Created by 冯传昌 on 2021/5/6.
//  Copyright © 2021 冯传昌. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "ProductOrderModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface ProductOrderListModel : NSObject

@property (nonatomic,assign) NSInteger ID;//id
@property (nonatomic,copy) NSString *company;//供应商名称
@property (nonatomic,copy) NSString *logo;//供应商logo
@property (nonatomic,assign) NSInteger countdown;//订单是否超时 超时时间
@property (nonatomic,assign) NSInteger number;//订单商品总数
@property (nonatomic,copy) NSString *orderno;//订单号
@property (nonatomic,assign) float payprice;//支付金额
@property (nonatomic,assign) BOOL receivebtn;//是否确认收货
@property (nonatomic,assign) BOOL paybtn;//是否允许支付
@property (nonatomic,assign) BOOL cancelbtn;//是否允许取消订单
@property (nonatomic,assign) BOOL deletebtn;//是否允许删除
@property (nonatomic,assign) BOOL trackbtn;//是否可以查看物流

@property (nonatomic,assign) BOOL outbtn;//是否可以发货
@property (nonatomic,assign) BOOL refundbtn;//是否可以退款
@property (nonatomic,assign) BOOL refundedbtn;//是否显示退款
@property (nonatomic,assign) BOOL rejectbtn;//是否可以退换货
@property (nonatomic,assign) BOOL rejectedbtn;//是否显示退换货

@property (nonatomic,assign) NSInteger state;//订单状态
@property (nonatomic,copy) NSString *status;//订单状态
@property (nonatomic,assign) NSInteger supplierId;//供应商ID
@property (nonatomic,copy) NSString *time;//时间
@property (nonatomic,assign) float totalprice;//商品总价格
@property (nonatomic,assign) float totaltbprice;//商品总价格  TB
@property (nonatomic,assign) NSInteger trackno;//物流号
@property (nonatomic,strong) NSArray *items;//订单数组

@property (nonatomic,assign) float cellHeight;


+(ProductOrderListModel *)paraWithDict:(NSDictionary *)dict;


@end

NS_ASSUME_NONNULL_END
